package com.ABdolphin.captcha.logger;

import lombok.extern.slf4j.Slf4j;
import lombok.extern.slf4j.XSlf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/logger")
@Slf4j
public class LoggerController2 {
    public String logger(){
        log.error("=========error=========");
        log.warn("=========warn=========");
        log.info("=========info=========");
        log.debug("=========debug=========");
        log.trace("=========trace=========");
        return "日志打印";
    }
}
